﻿@model ViewModel
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>@(Model.Title)</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Content-Language" content="zh-CN" />
    <meta name="robots" content="@(Model.Robots)" />
    <meta name="keywords" content="@(Model.Keywords)" />
    <meta name="description" content="@(Model.Description)" />
    @Asset.Style(Css.FontAwesome | Css.Bootstrap | Css.BootstrapTheme | Css.BootstrapSelect)
    @Asset.Style().Static("app.base.css", "app.global.css", "app.my.css")
    <style type="text/css">
        .input-mini {
            width: 60px;
        }

        .input-small {
            width: 90px;
        }

        .input-medium {
            width: 150px;
        }

        .input-large {
            width: 210px;
        }

        .input-xlarge {
            width: 270px;
        }

        .input-xxlarge {
            width: 530px;
        }

        .input-for-area {
            margin-right: 5px;
            float: left;
        }

        .select2-container .select2-choice {
            font-weight: normal;
            height: 28px;
            margin: -5px -8px;
            border: none;
            border-radius: 1px;
        }
    </style>
    @RenderSection("css", false)
</head>
<body>
    <div id="modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="modal-label"
         aria-hidden="true">
    </div>
    @Html.Partial("Header")
    <div class="container">
        <div class="wrapper">
            <div class="container">
                <div class="row">
                    @if (ViewBag.Sidebar == false)
                    {
                        <div class="col-md-12">@RenderBody()</div>
                    }
                    else
                    {
                        <div class="col-md-2">
                            @Html.Partial("Sidebar")
                        </div>
                        <div class="col-md-10">@RenderBody()</div>
                    }
                </div>
            </div>
        </div>
    </div>
    @Html.Partial("Footer")

    @Asset.Script(Js.Underscore | Js.JQuery | Js.Bootstrap | Js.JQueryExtend)
    @Asset.Script(Js.JQueryValidate | Js.JQueryValidateExtend | Js.BootstrapExtend)

    @Asset.Script(Js.BootstrapSelect | Js.BootstrapDatePicker).Static("app.global.js", "app.base.js", "app.seller.js")

    @RenderSection("js", false)
</body>
</html>
